import { defineConfig } from 'vite';
import solid from 'vite-plugin-solid';
import solidSvg from 'vite-plugin-solid-svg';
import legacy from '@vitejs/plugin-legacy';

export default defineConfig({
  base: './',
  build:{minify:true},
  plugins: [
    solid(),
    solidSvg({ defaultAsComponent: true }),
    legacy({
      targets: ['defaults'],
    }),
  ],
});
